package com.chenliang.sc.service.impl;

import com.chenliang.sc.po.ProxyUser;
import com.chenliang.sc.service.NoProxyUserService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: springcase
 * @description:
 * @author: 陈亮
 * @create: 2022-06-13 16:14
 */
@Service
public class NoProxyUserServiceImpl implements NoProxyUserService {

    @Override
    public List<ProxyUser> findProxyUserList() {
        ArrayList<ProxyUser> list = new ArrayList<>();
        list.add(new ProxyUser("第一", 11));
        list.add(new ProxyUser("第二", 22));
        list.add(new ProxyUser("第三", 33));
        return list;
    }

    @Override
    public void addProxyUser() {
        System.out.println("添加了一个proxyUser");
    }
}
